

import static org.junit.Assert.*;

import java.util.List;
import java.util.Set;

import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;


public class Create {
	private static SessionFactory sf = null;

	@BeforeClass
	public static void beforClass() {
		sf = new AnnotationConfiguration().configure().buildSessionFactory();
	}
	@Test
	public void testCreateEmpTable(){
		new SchemaExport(new AnnotationConfiguration().configure()).create(true, true);

	}
	@AfterClass
	public static void afterClass() {
		sf.close();
	}
}
